<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--框架必需start-->
<script type="text/javascript" src="../js/jquery-1.4.js"></script>
<script type="text/javascript" src="../js/framework.js"></script>
<link href="../css/import_basic.css" rel="stylesheet" type="text/css"/>
<link  rel="stylesheet" type="text/css" id="skin"/>
<!--框架必需end-->

<!--多选下拉框start-->
<script type="text/javascript" src="../js/form/multiselect.js"></script>
<!--多选下拉框end-->


<script type="text/javascript">

$(function(){
	$("#button_1").toggle(function(){
		$(this).val("取消");
		$("#iframe_1").show(1000);
	},
	function(){
		$(this).val("拍照");
		$("#iframe_1").hide(1000);
	});
});




function a(){
	$("#iframe_1").show(1000);
}
function verify(){
    $("#driverId").val();
    document.freVehicleInForm.action="cFVehicleIO!vehicleInVerify";
    document.freVehicleInForm.method="post";
    document.freVehicleInForm.submit();
}
</script>

</head>
<body>
<div class="position">
	<div class="center">
	<div class="left">
	<div class="right">
		<span>当前位置：长期车辆进入</span>
	</div>
	</div>
	</div>
</div>
<div id="scrollContent">
<form action="cFVehicleIO!fVehicleIn" method="post" name="freVehicleInForm">
	<div class="box1" panelWidth="800">
	<!--
	<fieldset>
		<legend>输入驾驶员ID验证合法</legend>
		<form action="">
		<table class="tableStyle" transMode="true" footer="normal">
			<tr>
				<td width="10%">驾驶员ID：</td><td width="40%"><input type="text"/></td>
				<td width="10%">车牌号：</td>
				<td><input type="text"/>
				</td>
			</tr>
			<tr>
			<td></td>
				<td align="right"><input type="submit" value="验证"/></td>

				<td align="left"><input type="reset" value="重置"/></td>
				<td></td>
			</tr>
		</table>
		</form>
	</fieldset>
	-->
	<fieldset>
		<legend>输入驾驶员ID验证合法</legend>
		<table class="tableStyle" transMode="true" footer="normal" id="table_1">
			<tr>
				<td width="10%">驾驶员ID：</td>
				<td width="40%">
					<input type="text" name="driverId" id="driverId"/>
				</td>
				<td width="10%"><input type="button" value="验证" onclick="verify()"/></td>
				<td>

				</td>
			</tr>
			<tr>
				<td>驾驶员ID：</td>
				<td>
				<s:property value="freInOutApplyMPData.fcarDriver.driverId" />
				<s:hidden name="cardId" value="%{freInOutApplyMPData.fcarDriver.driverId}"></s:hidden>
				</td>
				<td>车牌号：</td>
				<td>
				<s:property value="freInOutApplyMPData.vehicle.vehicleId" />
				</td>
			</tr>
			<tr>
			<td>车类型：</td>
				<td>
				<s:property value="freInOutApplyMPData.vehicle.type" />
				</td>
			<td>电话号码：</td>
			<td>
				<s:property value="freInOutApplyMPData.fcarDriver.tel" />
			</td>
			</tr>
		</table>
	</fieldset>

	<fieldset>
	<legend>登记信息</legend>
	<table class="tableStyle" transMode="true" footer="normal">
		<tr>
				<td>照片：</td>
				<td>
				<iframe id="iframe_1" src="../images/1.jpg" style="display:none"></iframe>
				</td>
				<td></td>
				<td>
				<input type="button" value="拍照" id="button_1"/>
				</td>
		</tr>
	</table>
	</fieldset>
	<div class="padding_top10">
		<table class="tableStyle" transMode="true">
			<tr>
				<td colspan="4">
					<input type="submit" value=" 提 交 "/>
					<input type="reset" value=" 重 置 "/>
				</td>
			</tr>
		</table>
	</div>
	</div>
	</form>
</div>
</body>
</html>